<template>
  <div id="dplayer">test1133</div>
</template>
<script>
export default {
  name: "dplayer",
  props: {
    options: {
      type: Object,
      default: () => {},
    },
  },
  data() {
    return {
      dp: null,
    };
  },
  methods: {},
  mounted() {
    console.log(111);
    // this.options.container = document.getElementById('dplayer')
    // const player = this.dp = new DPlayer(this.options)
    // const events = player.events
    // Object.keys(events).forEach(item => {
    //   if (item === 'events') {
    //     return false
    //   } else {
    //     events[item].forEach(event => {
    //       player.on(event, () => this.$emit(event))
    //     })
    //   }
    // })
  },
};
</script>
<style scoped lang='sass'>
</style>